package failover

type Handler interface {
	Promote(s *Server) error

	ChangeMasterTo(s *Server, m *Server) error

	WaitRelayLogDone(s *Server) error

	WaitCatchMaster(s *Server, m *Server) error

	FindBestSlaves(slaves []*Server) ([]*Server, error)

	CheckGTIDMode(slaves []*Server) error
}
